package com.gitee.cashzhang27.test.boot.graphql.webflux.graphql.components;

import com.gitee.cashzhang27.test.boot.graphql.webflux.graphql.ExecutionInputCustomizer;
import graphql.ExecutionInput;
import graphql.Internal;
import org.springframework.stereotype.Component;
import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

@Internal
@Component
public class DefaultExecutionInputCustomizer implements ExecutionInputCustomizer {

  @Override
  public Mono<ExecutionInput> customizeExecutionInput(ExecutionInput executionInput,
      ServerWebExchange webRequest) {
    return Mono.just(executionInput);
  }
}
